#include<stdio.h>
#include<ctype.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>

//#define MK_NEW(n) li##n
/*
char s[20][20],temp[20];
int last=-1;

void num_or_char()    //to check if value entered by user is number or character
{
  int check_num=0,i;
  for(i=0;i<strlen(temp);i++)
  {
	 if(isdigit(temp[i]))
		check_num+=1;
  }
  if(check_num==strlen(temp))
	 //return 0;
	 printf("\nA NUMBER");
  else
	 //return 1;
	 printf("\n\nA CHARACTER");
}

void check_list(char t[20])
{
  int i;
  char a[18];
  if(t[0]=="[")
  {
	 if(t[strlen(t)-1]=="]")
	 {
		for(j=0;j<=strlen(t)-2;j++)
		  a[j]=t[j+1];
		//strcpy(s[++last],"[LIST]");
	 }
  }
  check_list(a);
}

void add_new()
{
  char temp[20];
  int i;
  printf("Enter the new element(for list use [] at start & end of list) :");
  gets(temp);

  for(i=0;i<20;i++)
  {
	 printf("%s\t",s[i]);
  }
}
*/
struct char_node;

struct int_node
{
  int no;
  int_node *next1;
  char_node *next;
};

struct char_node
{
  char c;
  char_node *next;
  int_node *next1;
};

void main()
{
  //char a[20];
  int_node *a;
  char_node *c;
  a=(int_node *)malloc(sizeof(int_node *));
  c=(char_node *)malloc(sizeof(char_node *));
  puts("ENTER char :");
  scanf("%c",&c->c);
  puts("ENTER int :");
  scanf("%d",&a->no);
  c->next1=NULL;
  c->next=NULL;
  a->next=c;
  a->next1=NULL;

  a->next=NULL;
  free(a);
  free(c);
  printf("HELLO WORLD");
  //printf("VALUES :%c and %d",(char)a[0],(int)a[0]);

  //add(n);
}
